import { Base } from '../utils/base.js';

class Message extends Base {
    constructor() {
        super();
    }
	//消息列表
	get_msg_list(data,callback){
		var params = {
		    url: 'message/getList',
		    type: 'get',
			data:data,
		    loading: true,
			
		};
		this.apiRequest(params, callback);
	}
	//消息详情
	get_msg_detail(data,callback){
		var params = {
		    url: 'message/detail',
		    type: 'get',
			data:data,
		    loading: true,
			
		};
		this.apiRequest(params, callback);
	}
	
}

export { Message };
